const levels = [1, 2, 3, 4, 5];
type LevelType = (typeof levels)[number];

export type TitlePropsType = {
  text: string;
  level: LevelType; //层级
  isCenter?: boolean;
};

export const TitleDefaultProps: TitlePropsType = {
  text: "标题",
  level: 1,
  isCenter: false,
};

export const QTitleType = "QTitle" as const;
